﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageSERIX.Master" AutoEventWireup="true"
    CodeBehind="ComunidadesManut.aspx.cs" Inherits="SERIX.ComunidadesManut" Title="Comunidade" %>

<%@ Register src="Controles/lovGenerica.ascx" tagname="lovGenerica" tagprefix="uc1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <table align="center" border="0" cellpadding="2" cellspacing="0" width="97%">
            <tr>
                <td class="secao_titulo" width="100%">
                    <span style="color: black"></span>
                    <asp:Label ID="lblTitulo" runat="server" TabIndex="-1" Text="Comunidade"></asp:Label><hr
                        class="linhahorizontal" style="width: 740px" />
                </td>
            </tr>
            <tr>
                <td align="left" class="erro">
                    <asp:Label ID="lblErro" runat="server" CssClass="erro" TabIndex="-1" Text="*Erro: "
                        Visible="False" Width="740px"></asp:Label>
                </td>
            </tr>
        </table>
        <table align="center" border="0" cellpadding="2" cellspacing="0" width="97%">
            <tr>
                <td align="left" class="erro">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <table >
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%">
                                Nome&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:TextBox ID="tbNOME_COM" runat="server" MaxLength="60" Width="323px"></asp:TextBox>
                                <span >
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbNOME_COM"
                                        CssClass="erro" ErrorMessage="*Campo obrigatório!" 
                                    Style="position: static" TabIndex="-1"
                                        Width="174px"></asp:RequiredFieldValidator>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%">
                                População&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:TextBox ID="tbPOPULACAO" runat="server" MaxLength="10" Width="82px"></asp:TextBox>
                                <cc1:FilteredTextBoxExtender ID="tbPOPULACAO_FilteredTextBoxExtender" 
                                    runat="server" Enabled="True" TargetControlID="tbPOPULACAO" FilterType="Numbers">
                                </cc1:FilteredTextBoxExtender>
                                <span >
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbPOPULACAO"
                                        CssClass="erro" ErrorMessage="*Campo obrigatório!" 
                                    Style="position: static" TabIndex="-1"
                                        Width="174px"></asp:RequiredFieldValidator>
                                </span>
                            </td>
                        </tr>
                        <tr >
                            <td class="grid_titulo_right" style="color: black;" width="25%">
                                Tipo de Comunidade&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:DropDownList ID="ddlIDT_TPO_COM" runat="server">
                                </asp:DropDownList>
                                <span >
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlIDT_TPO_COM"
                                        CssClass="erro" ErrorMessage="*Campo obrigatório!" 
                                    Style="position: static" TabIndex="-1"
                                        Width="174px"></asp:RequiredFieldValidator>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%" >
                                Municipio&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:TextBox ID="tbIDT_MUN" runat="server" ReadOnly="True" Width="200px" 
                                    onprerender="tbIDT_MUN_PreRender"></asp:TextBox>
                                <span >
                                    <uc1:lovGenerica ID="lovGenerica1" runat="server" />
                                    <asp:RequiredFieldValidator ID="rfvDescricao" runat="server" ControlToValidate="tbIDT_MUN"
                                        CssClass="erro" ErrorMessage="*Campo obrigatório!" 
                                    Style="position: static" TabIndex="-1"
                                        Width="174px"></asp:RequiredFieldValidator>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%" >
                                Escritório Local&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:DropDownList ID="ddlEsloc" runat="server" Enabled="False">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%" >
                                Unidade Regional&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:DropDownList ID="ddlUnidReg" runat="server" Enabled="False">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%" >
                                Território Cidadania&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:DropDownList ID="ddlTerrCid" runat="server" Enabled="False">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="grid_titulo_right" style="color: black;" width="25%" >
                                Território Planejamento&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="grid_celula" style="height: 30px" >
                                <asp:DropDownList ID="ddlTerrPlan" runat="server" Enabled="False">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="erro">
                                &nbsp;
                            </td>
                        </tr>
                        <tr >
                            <td colspan="2" style="height: 30px; color: black;" width="25%" 
                                align="center">
                                <asp:Button ID="btnSalvarNovo" runat="server" Font-Bold="True" 
                                    onclick="Button1_Click" Text="Salvar Novo" />
&nbsp;<asp:Button ID="Ok_Button" runat="server" Font-Bold="True" OnClick="Ok_Button_Click"
                                    Text="Salvar" Width="80px" />
                                &nbsp;<asp:Button ID="Cancelar_Button" runat="server" CausesValidation="False" Font-Bold="True"
                                    OnClick="Cancelar_Button_Click" Text="Cancelar" Width="80px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
